package com.ruoyi.PersonalElectricityUsage.mapper;

import java.util.List;
import com.ruoyi.PersonalElectricityUsage.domain.PersonalElectricityUsage;

/**
 * 个人用电信息Mapper接口
 * 
 * @author 智电未来
 * @date 2024-07-12
 */
public interface PersonalElectricityUsageMapper 
{
    /**
     * 查询个人用电信息
     * 
     * @param id 个人用电信息主键
     * @return 个人用电信息
     */
    public PersonalElectricityUsage selectPersonalElectricityUsageById(Long id);

    /**
     * 查询个人用电信息列表
     * 
     * @param personalElectricityUsage 个人用电信息
     * @return 个人用电信息集合
     */
    public List<PersonalElectricityUsage> selectPersonalElectricityUsageList(PersonalElectricityUsage personalElectricityUsage);

    /**
     * 新增个人用电信息
     * 
     * @param personalElectricityUsage 个人用电信息
     * @return 结果
     */
    public int insertPersonalElectricityUsage(PersonalElectricityUsage personalElectricityUsage);

    /**
     * 修改个人用电信息
     * 
     * @param personalElectricityUsage 个人用电信息
     * @return 结果
     */
    public int updatePersonalElectricityUsage(PersonalElectricityUsage personalElectricityUsage);

    /**
     * 删除个人用电信息
     * 
     * @param id 个人用电信息主键
     * @return 结果
     */
    public int deletePersonalElectricityUsageById(Long id);

    /**
     * 批量删除个人用电信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePersonalElectricityUsageByIds(Long[] ids);
}
